#pragma once

namespace NeuralBasic
{
	class Network;
}
namespace MnistDigit
{
	class Digit;
}

namespace Recognition
{
	class Tester
	{
	public:
		Tester(NeuralBasic::Network& m_network
			, std::vector<std::unique_ptr<MnistDigit::Digit>>& m_digits);
		~Tester(void);
		double Start();
		double GetRecognitionRatio() const;
	private:
		Tester& operator=(const Tester&);
		NeuralBasic::Network& m_network;
		std::vector<std::unique_ptr<MnistDigit::Digit>>& m_digits;
		size_t m_recognizedCount;
	};

}